Revert "Bug 731013 - cross-compilation broken when building extract-strings"
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 15 Aug 2014 15:40:55 +0000 (17:40 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 15 Aug 2014 16:09:44 +0000 (12:09 -0400)
This reverts commit 651d9e90e715ba0f4e246d03102cfb5353c19dc6.

The commit broke 'make dist' - the extract-strings sources are no
longer included in the tarball.

gtk/Makefile.am
gtk/inspector/Makefile.am
util/Makefile.am

index 12877ef21dcae622c1edf71c699053b2028a01d5..3e0d5f837ee47f773756cd240378360db9262e10 100644 (file)
@@ -1566,7 +1566,7 @@ distclean-local:
        if test $(srcdir) != .; then \
          rm -f $(MAINTAINERCLEANFILES); \
          rm -rf stock-icons; \
-         rm -f extract-strings$(BUILD_EXEEXT); \
+         rm -f extract-strings$(EXEEXT); \
          rm -f $(template_headers); \
        fi
 
index 7b1876fedb3f643ef7555eeef0b0307c61ae314d..9e1494514246fde565da7bd76ad7c81ce45b9f06 100644 (file)
@@ -114,7 +114,7 @@ templates =                                 \
 
 template_headers = $(templates:.ui=.ui.h)
 
-extract_strings = $(top_builddir)/util/extract-strings$(BUILD_EXEEXT)
+extract_strings = $(top_builddir)/util/extract-strings
 
 %.ui.h : %.ui 
        $(AM_V_GEN) $(extract_strings) $< > $@
index d0aa488f465c2580338cf14ea435558b91604623..e8cf8fdca03ec366f243ab6987c676d3590c6be5 100644 (file)
@@ -4,10 +4,10 @@ extract_strings_cppflags =
 extract_strings_cflags = $(GLIB_CFLAGS_FOR_BUILD)
 extract_strings_ldadd = $(GLIB_LIBS_FOR_BUILD)
 
-extract-strings$(BUILD_EXEEXT): $(extract_strings_sources)
-       @rm -f extract-strings$(BUILD_EXEEXT)
+extract-strings$(EXEEXT): $(extract_strings_sources)
+       @rm -f extract-strings
        $(AM_V_CCLD)$(CC_FOR_BUILD) $(extract_strings_cppflags) $(CPPFLAGS_FOR_BUILD) $(extract_strings_cflags) $(CFLAGS_FOR_BUILD) $^ $(LDFLAGS_FOR_BUILD) $(extract_strings_ldadd) $(LIBS_FOR_BUILD) -o $@
 
-all-local: extract-strings$(BUILD_EXEEXT)
+noinst_PROGRAMS = extract-strings
 
 -include $(top_srcdir)/git.mk